<div class="docs">
  <h1>
  	<?php echo "Download history of \"" . $fileNameForUsers . "\" in document \"" . $documentName . "\" :"; ?>
  </h1>
  <table cellspacing="3" border="true">
    <thead>
      <tr>
        <th>
          Date
        </th>
        <th>
          Downloader
        </th>
        <th>
          For modification
        </th>
       </tr>
    </thead>
    <tbody>
      <?php if (!empty($fileDownloadHistory)): ?>
        <?php foreach ($fileDownloadHistory as $fileHisory):?>
          <tr>
            <td class="date">
              <?php echo $fileHisory->getCreated_At(); ?>
            </td>
            <td class="user">
              <?php echo $fileHisory->getLoaderFullName(); ?>
            </td>
            <td class="modification">
              <?php echo $fileHisory->getStringByBool(); ?>
            </td>
           <?php endforeach; ?>
           <?php endif;?>
           </tr>
     </tbody>
  </table>
    <a href="<?php echo url_for('doc_files', $document) ?>"><img src="/images/backb.png" align="left"/></a>
</div>